﻿using System.ComponentModel;
using Utility.Enum;

namespace Model.BusinessModel.OutPut
{
    /// <summary>
    /// 流程输出模型
    /// </summary>
    [EnitityMapping(MenuId = "380CA40B-8B62-4EBE-86D7-91AE48292bbb")]
    public class FlowOutPut
    {
        /// <summary>
        /// 流程id
        /// </summary>
        [Description("流程id")]
        public string FlowId { get; set; } = string.Empty;

        /// <summary>
        /// 流程名称
        /// </summary>
        [Description("流程名称")]
        public string FlowName { get; set; } = string.Empty;

        /// <summary>
        /// 使用表单
        /// </summary>
        [Description("使用表单")]
        public string FormName { get; set; } = string.Empty;

        /// <summary>
        /// 表单主键
        /// </summary>
        [Description("表单主键")]
        public string FormId { get; set; } = string.Empty;

        /// <summary>
        /// 部门id
        /// </summary>
        [Description("部门id")]
        public string DepartmentId { get; set; } = string.Empty;

        /// <summary>
        /// 所属部门
        /// </summary>
        [Description("所属部门")]
        public string DepartmentName { get; set; } = string.Empty;

        /// <summary>
        /// 流程备注
        /// </summary>
        [Description("流程备注")]
        public string Remark { get; set; } = string.Empty;

        /// <summary>
        /// 表单类型
        /// </summary>
        [Description("表单类型")]
        public int TypeId { get; set; }

        /// <summary>
        /// 创建用户名称
        /// </summary>
        [Description("创建用户名称")]
        public string CreateUserName { get; set; } = string.Empty;

        /// <summary>
        /// 数据状态
        /// </summary>
        [Description("数据状态")]
        public int DataState { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Description("创建时间")]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人员
        /// </summary>
        [Description("创建人员Key")]
        public string CreateUserKey { get; set; } = string.Empty;
    }
}
